package cn.bdqn.domain;

import java.io.Serializable;
import java.util.Date;

public class Registration implements Serializable {

    /**
     * 身份证id
     */
    private String id;

    /**
     * 科室外键id
     */
    private Integer regisDepartments;

    /**
     * 挂号人姓名
     */
    private String regisName;

    /**
     * 挂号方式ID(外键)（1预约挂号  0医院挂号）
     */
    private Integer regisManner;

    /**
     * 挂号创建提交时间
     */
    private Date regisDate;

    /**
     * 信息id
     */
    private Integer menberId;

    /**
     * 挂号状态 0预约  1受理
     */
    private Integer regisStatus;

    /**
     * 支付状态 0未支付 1已支付
     */
    private Integer recipePaystatus;

    /**
     * 预约时段 0上午  1下午
     */
    private Integer recipeIsfa;

    /**
     * 手机号
     */
    private String phone;

    /**
     * 用户id
     */
    private Integer userId;

    /**
     * 预约时间
     */
    private Date appointTime;

    /**
     * 科室名
     */
    private String departments;

    /**
     * 挂号金额
     */
    private Double money;

    /**
     * 挂号类型
     */
    private String  type;

    /**
     * 用户openId
     */
    private String openId;

    private static final long serialVersionUID = 1L;

    public Registration() {
    }

    public Registration(String id, String regisName, String phone, Integer recipeIsfa, Integer userId, Date appointTime, Integer regisDepartments, Double money, String type, String openId, String departments) {
        this.id = id;
        this.regisName = regisName;
        this.phone = phone;
        this.recipeIsfa = recipeIsfa;
        this.userId = userId;
        this.appointTime = appointTime;
        this.regisDepartments = regisDepartments;
        this.money = money;
        this.type = type;
        this.openId = openId;
        this.departments = departments;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Integer getRegisDepartments() {
        return regisDepartments;
    }

    public void setRegisDepartments(Integer regisDepartments) {
        this.regisDepartments = regisDepartments;
    }

    public String getRegisName() {
        return regisName;
    }

    public void setRegisName(String regisName) {
        this.regisName = regisName;
    }

    public Integer getRegisManner() {
        return regisManner;
    }

    public void setRegisManner(Integer regisManner) {
        this.regisManner = regisManner;
    }

    public Date getRegisDate() {
        return regisDate;
    }

    public void setRegisDate(Date regisDate) {
        this.regisDate = regisDate;
    }

    public Integer getMenberId() {
        return menberId;
    }

    public void setMenberId(Integer menberId) {
        this.menberId = menberId;
    }

    public Integer getRegisStatus() {
        return regisStatus;
    }

    public void setRegisStatus(Integer regisStatus) {
        this.regisStatus = regisStatus;
    }

    public Integer getRecipePaystatus() {
        return recipePaystatus;
    }

    public void setRecipePaystatus(Integer recipePaystatus) {
        this.recipePaystatus = recipePaystatus;
    }

    public Integer getRecipeIsfa() {
        return recipeIsfa;
    }

    public void setRecipeIsfa(Integer recipeIsfa) {
        this.recipeIsfa = recipeIsfa;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Date getAppointTime() {
        return appointTime;
    }

    public void setAppointTime(Date appointTime) {
        this.appointTime = appointTime;
    }

    public String getDepartments() {
        return departments;
    }

    public void setDepartments(String departments) {
        this.departments = departments;
    }

    public Double getMoney() {
        return money;
    }

    public void setMoney(Double money) {
        this.money = money;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getOpenId() {
        return openId;
    }

    public void setOpenId(String openId) {
        this.openId = openId;
    }

    @Override
    public String toString() {
        return "Registration{" +
                "id='" + id + '\'' +
                ", regisDepartments=" + regisDepartments +
                ", regisName='" + regisName + '\'' +
                ", regisManner=" + regisManner +
                ", regisDate=" + regisDate +
                ", menberId=" + menberId +
                ", regisStatus=" + regisStatus +
                ", recipePaystatus=" + recipePaystatus +
                ", recipeIsfa=" + recipeIsfa +
                ", phone='" + phone + '\'' +
                ", userId=" + userId +
                ", appointTime=" + appointTime +
                ", departments='" + departments + '\'' +
                ", money=" + money +
                ", type='" + type + '\'' +
                ", openId='" + openId + '\'' +
                '}';
    }
}